package com.hzncc.flowable_diboot.contract.excel.model;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import lombok.Getter;
import lombok.Setter;

/**
* 字段映射 导出model定义
*
* @author MyName
* @version 1.0
* @date 2024-09-13
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class FieldMappingExportModel extends BaseExcelModel {


    /**
    * 租户
    */
    @ExcelProperty(value = "租户")
    private String tenantIdLabel;

    /**
    * 实体类
    */
    @ExcelProperty(value = "实体类")
    private String entity;


    /**
    * 备注
    */
    @ExcelProperty(value = "备注")
    private String remark;


    /**
    * 实体字段
    */
    @ExcelProperty(value = "实体字段")
    private String entityField;


    /**
    * 字段路径
    */
    @ExcelProperty(value = "字段路径")
    private String fieldPath;


    /**
    * 映射字段
    */
    @ExcelProperty(value = "映射字段")
    private String mappingField;


    /**
    * 数据类型
    */
    @Accept(name = "dataTypeLabel.label")
    @ExcelProperty(value = "数据类型")
    private String dataTypeLabel;

    /**
    * 编码
    */
    @ExcelProperty(value = "编码")
    private String code;


    /**
    * 模板
    */
    @ExcelProperty(value = "模板")
    private String template;


    /**
    * 方法
    */
    @ExcelProperty(value = "方法")
    private String method;

}